<script type="text/javascript">
	<!--

	    function rowState() {
	    if (enhanced) {
	    if (document.getElementById("integrateYes").checked == true) {
	    showRows();
	    } else {
	    hideRows();
	    }
	    }
	    }

	    function hideRows() {
	    if (enhanced) {
	    document.getElementById("wpRowH").style.display = 'none';
	    document.getElementById("wpRow1").style.display = 'none';
	    //	document.getElementById("wpRow2").style.display = 'none';
	    document.getElementById("wpRow3").style.display = 'none';
	    document.getElementById("wpRow4").style.display = 'none';
	    document.getElementById("wpRow5").style.display = 'none';
	    }
	    }

	    function showRows() {
	    if (enhanced) {
	    document.getElementById("wpRowH").style.display = '';
	    document.getElementById("wpRow1").style.display = '';
	    //	document.getElementById("wpRow2").style.display = '';
	    document.getElementById("wpRow3").style.display = '';
	    document.getElementById("wpRow4").style.display = '';
	    document.getElementById("wpRow5").style.display = '';
	    }
	    }

	    function enhancePage() {
	    // Enhance the page  if JS features are available
	    if(document.getElementById){
	    //We can use  getElementById, prepare the page
	    var warningPara = document.getElementById('noJsMsg');
	    warningPara.style.display='none';
	    warningPara.parentNode.removeChild(warningPara);
	    return true;
	    } else {
	    return false;
	    }
	    }
	    //var enhanced = enhancePage();
	    //window.onload = rowState;

	    //-->
</script>

<img src="../templates/subSilver/images/wp-united-logo.gif" style="position: absolute; left: 2px; top: 2px; " />

<!-- BEGIN switch_wp_error -->
<div style="background-color: red; border: 1px solid #ffffff; width = 100%; height = 100px; vertical-align: center;"><p style="color: #ffffff; font-weight: bold;">{switch_wp_error.WP_ERROR_MSG}</p></div>
<!-- END switch_wp_error -->

<h1  style="text-align: center;">{L_WPWIZARD_H1} &ndash; {L_WPWIZARD_STEP}</h1>

<h2  style="text-align: center;">{L_WPWIZARD_S2_TITLE}</h2>
<br />

<p class="gen">{L_WPWIZARD_S2_EXPLAIN}</p>

<p class="gen" style="color: red;" id="noJsMsg">{L_WP_NO_ADV_JS}</p><br />

<form action="{S_WPWIZ_ACTION}" method="post">

	<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline" style="margin-bottom: 10px;">
		<tr>
			<th class="thHead" colspan="2">{L_WPLOGIN_HEAD}</th>
		</tr>
		<tr>
			<td class="row1"><strong>{L_WPLOGIN_TITLE}</strong><br /><br /><span class="gensmall">{L_WPLOGIN_EXPLAIN}</span></td>
			<td class="row2" style="width: 150px; min-width: 150px; text-align: center;"><input type="radio" id="integrateYes" name="rad_Login" value="1" {S_WPLOGIN_ENABLE} onClick="rowState()"/>{L_WP_YES}&nbsp; &nbsp;<input type="radio" name="rad_Login" value="0" {S_WPLOGIN_DISABLE} onClick="rowState()" />{L_WP_NO}</td>
		</tr>
		<tr id="wpRowH">
			<td class="catbottom" colspan="2"><span class="gen">{L_WPLOGIN_OPTTITLE}</span></td>
		</tr>
		<tr id="wpRow1">
			<td class="row2" colspan="2"><strong>{L_WPPERMS_TITLE}</strong><br /><br /><span class="gensmall">{L_WPPERMS_EXPLAIN}</span></td>
		</tr>
		<tr id="wpRow3">
			<td class="row2"><strong>{L_WPUSER_TITLE}</strong><br /><br /><span class="gensmall">{L_WPUSER_EXPLAIN}</span></td>
			<td class="row2">
				<select name="selUser">
					<option value="none" {L_WPUSERnone_SEL}>{L_WPROLE_NONE}</option>
					<option value="subscriber" {L_WPUSERsubscriber_SEL}>{L_WPROLE_SUBSCRIBER}</option>
					<option value="contributor" {L_WPUSERcontributor_SEL}>{L_WPROLE_CONTRIBUTOR}</option>
					<option value="author" {L_WPUSERauthor_SEL}>{L_WPROLE_AUTHOR}</option>
					<option value="editor" {L_WPUSEReditor_SEL}>{L_WPROLE_EDITOR}</option>
					<option value="administrator" {L_WPUSERadministrator_SEL}>{L_WPROLE_ADMINISTRATOR}</option>
				</select>
			</tr>
			<tr  id="wpRow4">
				<td class="row2"><strong>{L_WPMOD_TITLE}</strong><br /><br /><span class="gensmall">{L_WPMOD_EXPLAIN}</span></td>
				<td class="row2">
					<select name="selMod">
						<option value="none" {L_WPMODnone_SEL}>{L_WPROLE_NONE}</option>
						<option value="subscriber" {L_WPMODsubscriber_SEL}>{L_WPROLE_SUBSCRIBER}</option>
						<option value="contributor" {L_WPMODcontributor_SEL}>{L_WPROLE_CONTRIBUTOR}</option>
						<option value="author" {L_WPMODauthor_SEL}>{L_WPROLE_AUTHOR}</option>
						<option value="editor" {L_WPMODeditor_SEL}>{L_WPROLE_EDITOR}</option>
						<option value="administrator" {L_WPMODadministrator_SEL}>{L_WPROLE_ADMINISTRATOR}</option>
					</select>
				</tr>
				<tr id="wpRow5">
					<td class="row2"><strong>{L_WPADMIN_TITLE}</strong><br /><br /><span class="gensmall">{L_WPADMIN_EXPLAIN}</span></td>
					<td class="row2">
						<select name="selAdmin">
							<option value="none" {L_WPADMINnone_SEL}>{L_WPROLE_NONE}</option>
							<option value="subscriber" {L_WPADMINsubscriber_SEL}>{L_WPROLE_SUBSCRIBER}</option>
							<option value="contributor" {L_WPADMINcontributor_SEL}>{L_WPROLE_CONTRIBUTOR}</option>
							<option value="author" {L_WPADMINauthor_SEL}>{L_WPROLE_AUTHOR}</option>
							<option value="editor" {L_WPADMINeditor_SEL}>{L_WPROLE_EDITOR}</option>
							<option value="administrator" {L_WPADMINadministrator_SEL}>{L_WPROLE_ADMINISTRATOR}</option>
						</select>
					</td>
				</tr>
			</table>

			<table width="80%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
				<tr>
					<td class="row1" style="width: 50%; text-align: right;"><input type="submit" name="Back" value="{L_WPBACK}" class="mainoption" /></td>
					<td class="row1" style="text-align: left;"><input type="submit" name="Next" value="{L_WPNEXT}" class="mainoption" /></td>
				</tr>
			</table>
		</form>

		<script type="text/javascript">
			<!--
			    var enhanced = enhancePage();
			    rowState();
			    //-->
		</script>

		<!-- BEGIN switch_show_footer -->
		<br clear="both" />
		<!--
		    Please keep this copyright notice visible and unaltered.
		    -->
		<div align="center" class="copyright">{L_WP_FOOTER}</div>
<!-- END switch_show_footer -->